import axios from "@/utils/request";
export const loginApi=(data:any)=>{
    return axios({
         path: '/loginin',
        method:"POST",
        data:data
        
    })
}

export const loginoutApi=()=>{
    return axios({
         path: '/loginout',
         method:"GET",
    })
}
export const upApi=(data:any)=>{
    return axios({
        path:"/users",
        method:"POST",
        data
    })
}